<script>
	export default {
		onLaunch: function() {
			const domModule = weex.requireModule('dom')
			domModule.addRule('fontFace', {
			    'fontFamily': "iconfont",
			    'src': "url('https://at.alicdn.com/t/font_3029386_07aghw3aew8n.ttf?t=1650655862514')"
			});
			//监听底部导航中间凸起按钮事件
			uni.onTabBarMidButtonTap(()=>{
				this.authJump({
					url:'/pages/create-live/create-live'
				})
				console.log('点击了中间按钮')
			})
			this.$store.dispatch('initUser')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	@import url("/common/free.css");
	@import url("/common/common.css");
	/* #ifndef APP-PLUS-NVUE */
	@import url("/common/icon.css");
	/* #endif */
</style>
